package io.github.cunyu1943;

/**
 * Created with IntelliJ IDEA.
 *
 * @Package : io.github.cunyu1943
 * @ClassName : CharAtTest.java
 * @CreateTime : 2022/11/29 22:22
 * @Version : 1.0
 * @Author : 村雨遥
 * @Email : 747731461@qq.com
 * @公众号 : 村雨遥
 * @Website : https://cunyu1943.github.io/JavaPark
 * @Description : 特定索引位置的字符
 */
public class CharAtTest {
    public static void main(String[] args) {
        String str = "cunyu1943";

        System.out.println("索引位置为 3 的字符为: " + str.charAt(3));
    }
}
